<%@ page import="java.util.List" %>
<%@ page import="cn.lanqiao.dao.UserDao" %>
<%@ page import="cn.lanqiao.entity.User" %>
<%@ page pageEncoding="UTF-8" %>
<html>
<body>
<meta charset="UTF-8">
<h2>用户列表</h2>
<h5>
    <%  List<User> list = new UserDao().query("select id,user_name,password from sys_user");
        for(User user : list){
            out.print(user + "<br>");
        }
    %>
</h5>
</body>
</html>
